package com.imooc.bilibili.service;

import com.imooc.bilibili.dao.AuthRoleMenuDao;
import com.imooc.bilibili.domain.auth.AuthRoleMenu;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;
import java.util.Set;

/**
 * ProjectName imooc-bilibili
 *
 * @author xieyucan
 * <br>CreateDate 2022/10/25 9:16
 */
@Service
public class AuthRoleMenuService {

    @Resource
    private AuthRoleMenuDao authRoleMenuDao;

    public List<AuthRoleMenu> getAuthRoleMenuByRoleId(Set<Long> roleIdSet) {
        return authRoleMenuDao.getAuthRoleMenuByRoleId(roleIdSet);
    }
}
